import { HttpException, HttpStatus } from '@nestjs/common';

export class BusinessException extends HttpException {
  constructor(message: string, code = 10001) {
    super({ code, message }, HttpStatus.BAD_REQUEST);
  }
}
